package com.example.service.siyunDingdanService.impl;

import com.example.dao.siyunDingdanDao.SiyunTuihuoDingdanDao;
import com.example.pojo.siyunDingdanPojo.SiyunDingdan;
import com.example.pojo.siyunDingdanPojo.SiyunTuihuo;
import com.example.pojo.siyunDingdanPojo.SiyunTuihuoStatus;
import com.example.service.siyunDingdanService.SiyunTuihuoDingdanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: ***
 * @Description: ***
 * @author: ***
 * @date: 2022/11/28 16:22
 */
@Service
public class SiyunTuihuoDingdanServiceImpl implements SiyunTuihuoDingdanService {
    @Autowired
    private SiyunTuihuoDingdanDao tuihuoDingdanDao;
    @Override
    public SiyunTuihuoStatus getTuihuoStatus() {
        return tuihuoDingdanDao.getTuihuoStatus();
    }

    @Override
    public List<SiyunDingdan> getTuihuoDingdanAll(SiyunDingdan siyunDingdan) {
        return tuihuoDingdanDao.getTuihuoDingdanAll(siyunDingdan);
    }

    @Override
    public List<SiyunDingdan> getTuihuoMohuCha(SiyunDingdan siyunDingdan) {
        return tuihuoDingdanDao.getTuihuoMohuCha(siyunDingdan);
    }

    @Override
    public List<SiyunDingdan> getExcel(List<Integer> list) {
        return tuihuoDingdanDao.getExcel(list);
    }

    @Override
    public SiyunTuihuo getTuihuoZhong(SiyunTuihuo siyunTuihuo) {
        return tuihuoDingdanDao.getTuihuoZhong(siyunTuihuo);
    }

    @Override
    public boolean getQuerenshouhuo(SiyunTuihuo siyunTuihuo) {
        return tuihuoDingdanDao.getQuerenshouhuo(siyunTuihuo);
    }

    @Override
    public boolean getReturn(SiyunTuihuo siyunTuihuo) {
        return tuihuoDingdanDao.getReturn(siyunTuihuo);
    }
}
